<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="nav" content="0" />
<meta name="acc" content="" />
<title>日常监督</title>
<script type="text/javascript" charset="utf-8"
	src="<c:url value='/KindEditor/kindeditor.js'/>"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$("#watch").click(function(){
			viewCheck();
		});
		
		var date = new Date();
		$.get("${ctx}/business/history/history!info.action?key=${id}&time="+date,function(data){
			$("#frame").html(data);
		});
	});
	
	function viewCheck() {
		$.window.prepare({
			dock : 'left' // change the dock direction: 'left', 'right', 'top', 'bottom'
		});
		$.window({
					title : "编制监督检查",
					showFooter : false,
					maximizable : true,
					bookmarkable : false,
					width : 700,
					height : 400,
					showRoundCorner : true,
					createRandomOffset : {
						x : 200,
						y : 150
					},
					modalOpacity : 0.5,
					showModal : true,
					closable : true,
					minimizable : false,
					url : appConfig.contPath
							+ "/quality/check!page.action?id=${id}&projectId=${projectId}&checkType=${checkType}&decorator=open&confirm=true"
				});
	}

	function close() {
		$.window.closeAll();
	}

	function saveCheck(checkId, projectId) {
		window.location.href = "${ctx}/quality/check!look.action?id=" + checkId
				+ "&projectId=" + projectId;
	}
</script>
</head>
<body>
	<form action="${ctx}/quality/check!save2.action" method="post"
		id="inputForm" class="yform">
		<input type="hidden" id="id" name="id" value="${id }"> <input
			type="hidden" id="taskId" name="taskId" value="${taskId }"> <input
			type="hidden" name="status" id="status" value="07">
		<div id="caption">
			<h6>
				${licenseplateNumber}站领导签发
			</h6>
		</div>
		<div>
			<table class="noborder">
					<tr class="type-text">
						<td>签发意见</td>
						<td><textarea name="review" id="review"></textarea>
						</td>
					</tr>
			</table>
		</div>
		<div id="frame"></div>
		<div class="type-button">
			<input type="button" class="submit" value="查看" id="watch"> <input
				type="submit" class="submit" value="提交"
				onclick="return isProcess();" />&nbsp; <input type="button"
				value="返回" class="reset" onclick="history.back()" />
		</div>
	</form>
</body>
</html>